package Server_Netty;

public class DataCallBackClass {

    private int Data_RoleId;
    private int Data_Send_rate=5;
    private int DataLen;
    //消息的内容
    private byte[] Data_content;

    public int getData_Send_Rate() {
        return Data_Send_rate;
    }

    public void setData_Send_rate(int data_Send_rate) {
        Data_Send_rate = data_Send_rate;
    }

    public int getData_RoleId() {
        return Data_RoleId;
    }

    public void setData_RoleId(int data_RoleId) {
        Data_RoleId = data_RoleId;
    }

    public DataCallBackClass(int data_RoleId, short dataLen, byte[] data_content,int datasend_rate) {
        Data_RoleId=data_RoleId;
        DataLen = dataLen;
        Data_content = data_content;
        Data_Send_rate= datasend_rate;
    }

    public DataCallBackClass(int data_RoleId, int dataLen, byte[] data_content) {
        Data_RoleId=data_RoleId;
        DataLen = dataLen;
        Data_content = data_content;
    }

    public int getDataLen() {
        return DataLen;
    }

    public void setDataLen(short dataLen) {
        DataLen = dataLen;
    }

    public byte[] getData_content() {
        return Data_content;
    }

    public void setData_content(byte[] data_content) {
        Data_content = data_content;
    }

}
